package com.byb.server.service.util;

import com.byb.server.domain.Product;
import com.byb.server.service.dto.Product_sort;
import java.util.List;

/**
 * sort Interface  for managing algorithm.
 */
public interface SortStrategy {

    /**
     *  sort fot Product
     * @param list
     * @param products
     * @param payment
     * @return
     */
    List<Product_sort> sortBy(List<Product_sort> list, List<Product> products,List<Product> data, Integer payment);
}
